package com.peng.edu.mapper;

import com.peng.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peng.edu.entity.frontVo.CourseWebVo;
import com.peng.edu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author Dengp
 * @since 2022-06-16
 */
public interface CourseMapper extends BaseMapper<Course> {
    //根据课程id查询课程确认信息
    public CoursePublishVo getPublishCourseInfo(String courseId);
    //根据课程id获取课程详细信息
    CourseWebVo getBaseCourseInfo(String id);
}
